#include <iostream>
using namespace std;

int main() {
    cout.setf(ios::fixed, ios::floatfield);

    // 整数除法
    cout << "Integer division: 9/5 = " << 9/5 << endl;

    // 浮点数除法
    cout << "Floating-point division: 9.0/5.0 = " << 9.0/5.0 << endl;

    // 混合类型触发
    cout << "Mixed division: 9.0/5 = " << 9.0/5 << endl;

    // 双精度常量
    cout << "double constants: 1e7/9.0 = " << 1e7/9.0 << endl;

    // 单精度常量
    cout << "float constants: 1e7f/9.0f = " << 1e7f/9.0f << endl;
}